﻿@namespace MudBlazor.UnitTests.TestComponents

<MudDataGrid Items="@_items" Loading="true">
    <Columns>
        <Column T="Model" Field="@nameof(Model.Name)" />
        <Column T="Model" Field="@nameof(Model.Age)" />
        <Column T="Model" Field="@nameof(Model.Status)" />
    </Columns>
    <LoadingContent>
        Data loading, please wait...
    </LoadingContent>
</MudDataGrid>

@code {
    private IEnumerable<Model> _items = new List<Model>();

    public record Model (string Name, int Age, Severity Status);
}
